﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace FDSimpleModelGenerator.Models.ClassTemplates
{
    public class ClassTemplateCategoryModel
    {
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessage = "请输入模型类别名称")]
        public string Name { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        [Required(ErrorMessage = "请输入模型类别描述")]
        public string Description { get; set; }
    }
}
